import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);
export default new Vuex.Store({
    state:{
      name:'',
      idcard:'',
      type:'',
      smtype:'',
      phone:'',
      photo:'',
      address:'',
      person:[{}],
      personNum:0,
      bgimg:require('../../assets/bg.png'),
      startNext:[],
      user:{},
      https:'https://wx.honghengxinxi.com:8888',
      http:'http://wx.honghengxinxi.com:80'
    },
    mutations:{
        name(state,x){
            state.name=x
        },
        idcard(state,x){
            state.idcard=x
        },
        type(state,x){
            state.type=x
        },
        smtype(state,x){
            state.smtype=x
        },
        photo(state,x){
            state.photo=x
        },
        address(state,x){
            state.address=x
        }
    },
    actions:{
       
    },
})